home *** CD-ROM | disk | FTP | other *** search
- Short Documentation:
-
- Well most of the properties are self explanatory but some probably need
- additional documentation ( if you buy the control you will receive full
- documentation, but for evaluation this should help you enough to understand
- the CboxList CC:
-
- First of all the List may contain up to 10 options.
- The dialogbox in the newest version now disables the Add and Insert button
- when the list is full.
-
- "Value"
-
- The control can act either as a single or multipleselect group of checkboxes,
- which can be defined by the MultipleSelect Property. Depending on this property
- the property "Value" has different meanings. In single select mode "Value"
- returns the index of the option set. In multiple select mode "Value" reports
- how many option in total are selected. To retrieve the individual options
- there are two property arrays:
-
- HSZ ValueList(Index): the text of the option (index) (index=0 to MaxValueIndex)
- You can set the ValueList strings in a dialog box.
-
- BOOL ValueState(Index): the state of the option (index)
- To set a default state klick on the option in design mode with the RIGHT mouse
- button. Therefore you need not initialise the control at Form_Load time if the
- value is not different from that default.
-
- Both are read/write properties. See Treats.frm for some details how to address
- these properties.
-
- "MaxValueIndex"
-
- reports how many options the control contains. Currently the maximum is
- 10 options.
-
- "PictureTop, PictureLeft, PictureRight, PictureBottom"
-
- These four define a picture rectangle of the FIRST picture right below the
- caption and also controls the placement of the value strings.
-
- You can of course alter these values via the property combo BUT I have created
- a faster way, which I would like to explain in more detail next.
-
- First you double click with the RIGHT mousebutton.
-
- A grid of for lines is displayed. Now you are in "Picture Rectangle Mode"
-
- Press the control key and a click (always with the RIGHT mousebutton) sets the
- upper lefthand corner.
- If you press control and shift you set the lower righthand corner. Due to the
- fact that VB does not send any Mousemoves in design mode I was unable to im-
- plement a typical drag type set option. But this is second best and you will
- see, it's easy an versatile. If anyone has an idea how to improve this option
- I would welcome your proposals.
-
- Events:
-
- The CHANGE Event has two additional parameter which informs you, what
- activity caused the change. byUserEdit is nonzero when the change is the result
- of the user entering something to the specific control.
-
- byUserEdit=1 change results from mouse action
- byUserEdit=2 change results from keyboard action
-
- byUserEdit=0 change is result of value assignment statement in VB
-
- ValueIndex gives you the index of the option in the list that was altered.
-
- There's a new Event HELP which is controlled by the Helpevents property.
- Take a look at FRAMES.FRM for details.
-
- The colors for the 3D light and shadow are fixed. If you think they should
- be modifiable, please let me know !
-
- Always keep in mind, that you can turn off the BorderStyle and alter the
- Colors Background,Foreground BackgroundON and ForeGroundON.
-
- Enjoy
-
- Manfred Waldmeyer
-
-
-
-